<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

/*
	Project		: HR & Payroll System
	Developer	: APPropolis Inc.
	Programmer	: Mark Vincent M. Lorenzo
	(c) 2014
*/

class Login extends CI_Controller {

	public function __construct() {
		parent::__construct();
		//$this->output->cache(60);
		ini_set('session.cookie_httponly',1); 
		ini_set('session.use_only_cookies',1);
		
	}
	public function process_login()
	{
		$post = $this->input->post();
		
		$cmd = $this->users_class->check_login($post);

		return $cmd['intStatus'];
	}
}